package com.itheima.store.dao;

import java.sql.SQLException;
import java.util.List;


import com.itheima.store.domain.Dept;

/**
 * 分类的DAO的接口
 * @author admin
 *
 */
public interface DeptmanagerDao {

	List<Dept> findAllDept()throws SQLException;

	void saveDept(Dept dept)throws SQLException;

	Dept queryDept(String dept_id)throws SQLException;

	void updateDept(Dept dept)throws SQLException;

	void deleteDept(String dept_id)throws SQLException;

	//Category findByCid(String cid)throws SQLException;

	//void update(Category category)throws SQLException;

	//void deleteCategoryByCid(String cid)throws SQLException;
	


}
